home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
demos
/
REALITY
/
distort
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-08-01
|
814b
|
33 lines
#!smake
#
# This makefile creates the distort demo and installs it into /usr/moredemos
#
include ${ROOT}/usr/include/make/commondefs
# Libraries to link with to get the GL (-lsun is necessary for correct
# remote graphics operation when running NIS).
TARGETS = distort
LLDLIBS = -limage -lgutil -lgl -lm
SHDLIBC = -lmpc
CFILES = distort.c imagedata.c ripple.c rubber.c
OTHERSOURCE = ripple_precalc.c distort.rgb.uu
HFILES = defs.h imagedata.h ripple.h rubber.h
LDIRT = ripple_precalc ripple_table.c
OPTIMIZER = -O2
CVERSION = -ansi
default all: ${TARGETS}
include ${COMMONRULES}
${TARGETS}: ${OBJECTS} ripple_table.o
${CCF} -o $@ ${OBJECTS} ripple_table.o ${LDFLAGS}
ripple_table.c: ripple_precalc
./ripple_precalc > ripple_table.c
ripple_precalc: ripple_precalc.c
${CC} -o $@ ripple_precalc.c -lm